from django.db import models
from django.contrib.auth.models import AbstractUser


class User(AbstractUser):
    is_leader = models.BooleanField('小组组长', default=False)

    class Meta:
        # 配置自定义用户表名是user_table
        db_table = 'account_user'
        verbose_name = '用户'
        verbose_name_plural = verbose_name
